public class GxClientJsonFactory
The class will create client models from JSON
Constructor and Description |
---|
GxClientJsonFactory(BBjGridExWidget widget!) Construct new GxClientJsonFactory |
Modifier and Type | Method and Description |
---|---|
GxClientCellModel | getCell(JsonObject json!) Map a JSON object to GxClientCellModel |
GxClientCellModel | getCell(BBjString json!) Map a JSON string to GxClientCellModel |
GxClientColumnModel | getColumn(BBjString column!) Map column name to GxClientColumnModel |
GxClientFilterModel | getFilter(JsonObject json!, BBjString column!) Parse a filter conditions (single or combined) and return a filter model |
GxClientFilterModel | getFilter(BBjString json!, BBjString column!) Parse a filter conditions (single or combined) and return a filter model |
GxClientFilterModel | getFilterCondition(JsonObject json!, BBjString column!) Parse a filter condition and return a filter model |
GxClientKeypressModel | getKeypress(JsonObject json!) Map a JSON object to GxClientKeypressModel |
GxClientRangeSelectionModel | getRangeSelection(JsonObject json!) Map a JSON object to GxClientRangeSelectionModel |
GxClientRowModel | getRow(JsonObject json!) Map a JSON object to GxClientRowModel |
GxClientRowModel | getRow(BBjString json!) Map a JSON string to GxClientRowModel |
BBjGridExWidget | getWidget() Get the widget instance |
public GxClientJsonFactory(BBjGridExWidget widget!)
Construct new GxClientJsonFactory
BBjGridExWidget
widget! The widget instancepublic GxClientCellModel getCell(JsonObject json!)
Map a JSON object to GxClientCellModel
JsonObject
json! Json objectpublic GxClientCellModel getCell(BBjString json!)
Map a JSON string to GxClientCellModel
BBjString
json! Json stringpublic GxClientColumnModel getColumn(BBjString column!)
Map column name to GxClientColumnModel
BBjString
column! The column namepublic GxClientFilterModel getFilter(JsonObject json!, BBjString column!)
Parse a filter conditions (single or combined) and return a filter model
JsonObject
json! the model as json objectpublic GxClientFilterModel getFilter(BBjString json!, BBjString column!)
Parse a filter conditions (single or combined) and return a filter model
BBjString
json! the model as json stringpublic GxClientFilterModel getFilterCondition(JsonObject json!, BBjString column!)
Parse a filter condition and return a filter model
JsonObject
json! the model as json objectBBjString
the column idpublic GxClientKeypressModel getKeypress(JsonObject json!)
Map a JSON object to GxClientKeypressModel
JsonObject
json! Json objectpublic GxClientRangeSelectionModel getRangeSelection(JsonObject json!)
Map a JSON object to GxClientRangeSelectionModel
JsonObject
json! Json objectpublic GxClientRowModel getRow(JsonObject json!)
Map a JSON object to GxClientRowModel
JsonObject
json! Json objectpublic GxClientRowModel getRow(BBjString json!)
Map a JSON string to GxClientRowModel
BBjString
json! json stringpublic BBjGridExWidget getWidget()
Get the widget instance